package com.chenfan.magic.constant;

/**
 * Token配置常量.
 *
 * @author troy
 */
public interface TokenConstant {

    String SIGN_KEY = "IDC";
    String AVATAR = "avatar";
    String HEADER = "idc_auth";
    String BEARER = "bearer";
    String ACCESS_TOKEN = "access_token";
    String REFRESH_TOKEN = "refresh_token";
    String TOKEN_TYPE = "token_type";
    String EXPIRES_IN = "expires_in";
    String USERNAME = "username";
    String APP_KEY = "app_key";
    String USER_ID = "user_id";
    String ROLE_ID = "role_id";
    String NICKNAME = "nickname";
    String ROLE_NAME = "role_name";
    String TENANT_ID = "tenant_id";
    String CLIENT_ID = "client_id";
    String LICENSE = "license";
    String LICENSE_NAME = "powered by idc (魔方 AI 技术中台)";
    String DEFAULT_AVATAR = "https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png";
    Integer AUTH_LENGTH = 7;

}
